continuity of composite functions